// dom显隐(不符合条件移除)
export default (app: any) => {
  app.directive('IF', (el: any, e: any) => {
    e.value || el.remove();
  })
};